package com.fowo.api.syncLingxingApi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fowo.api.syncLingxingApi.entity.TmpSyncLingxingToAuxList;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface TmpSyncLingxingToAuxListMapper extends BaseMapper<TmpSyncLingxingToAuxList> {

    @Update("truncate table tmp_sync_lingxing_to_aux_list; truncate table tmp_sync_lingxing_to_aux_list_aux_relation_product; truncate table tmp_sync_lingxing_to_aux_list_purchase_supplier_quote;")
    void deleteAll();


    Integer insertAuxList(String version);

    Integer insertAuxListAuxRelationProduct(String version);

    Integer insertAuxListPurchaseSupplierQuote(String version);


}
